package com.qianfeng.zhangwei.xmppdemo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.qianfeng.zhangwei.xmppdemo.connection.XmppHelper;

/**
 * 第一步创建连接
 */

public class MainActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        //连接服务器
        XmppHelper.getInstance().init();
    }

}
